package com.zcxy.fast.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zcxy.fast.anotation.Dict;
import com.zcxy.fast.handler.DictSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * vue组件数据配置Vo对象
 *
 * @author zcc
 * @email 860474958@qq.com
 * @date 2021-01-15 07:40:36
 */
@Data
@ApiModel(value = "SysComponetVo", description = "vue组件数据配置Vo")
public class SysComponetVo {


    @ApiModelProperty(value = " 组件描述", required = false)
    private String name;


    @ApiModelProperty(value = " 编码", required = false)
    private String code;


    @ApiModelProperty(value = " 组件路径", required = false)
    private String url;


    @ApiModelProperty(value = " 方法名称", required = false)
    private String funcName;


    @Dict("post_type")
    @JsonSerialize(using = DictSerializer.class)
    @ApiModelProperty(value = " 组件对应数据表", required = false)
    private String applyTable;


    @Dict("post_type")
    @JsonSerialize(using = DictSerializer.class)
    @ApiModelProperty(value = " 请求类型post/get", required = false)
    private String postType;


    @ApiModelProperty(value = " 默认请求参数", required = false)
    private String defaultParams;


    @ApiModelProperty(value = " 可变参数1", required = false)
    private String params;


    @ApiModelProperty(value = " 可变参数2", required = false)
    private String paramsTwo;


    @ApiModelProperty(value = " ", required = false)
    private String id;


    @ApiModelProperty(value = "值字段 ", required = false)
    private String value;


    @ApiModelProperty(value = " label字段", required = false)
    private String label;


    private String props;


}
